{extend name="common\layout" /}

{block name="plugins-css"}
    <link rel="stylesheet" href="/static/weixin/css/user.css">
{/block} 

{block name="style"}
<style type="text/css">
</style>
{/block}  

{block name="content"}
<div class="aui-row">

    <div class="aui-content users">
        <div class="headimg">
            <img src="http://wx.qlogo.cn/mmopen/vi_32/U5vvFI4v3j8ErKJX2KHnQ58o1Y5icLiafhFP2paVgibkTuOWkiaBGDqTpUDS8dbzDAia6RwN41qqwSy0oNdw8diaR8sg/0" class="aui-img-round aui-list-img-sm headimg">
            <div class="nickname">暖寄归人</div>
            <span style=" background: #FFFFFF;padding:5px; color:red; font-size: 0.7em;border-radius:0.5em;">免费盟主</span>
        </div>
	    <div class="statistics aui-row" style=" text-align: center;">
	        <div class="aui-col-xs-4" data-url="{:url('team/index')}">
	             <span class="number">0</span>
	            <div class="aui-grid-label">累计积分</div>
	        </div>
	        <div class="aui-col-xs-4" data-url="{:url('team/index',array('type'=>2))}">
	             <span class="number">0</span>
	            <div class="aui-grid-label">累计补贴</div>
	        </div>
	        <div class="aui-col-xs-4" data-url="{:url('team/index',array('type'=>3))}">
	             <span class="number">0</span>
	            <div class="aui-grid-label">累计佣金</div>
	        </div>
	    </div>         
    </div>

    <div class="aui-content aui-margin-t-10 aui-margin-b-10">
        <ul class="aui-list aui-list-in">
            <a href="{:url('subsidy/index')}">
			<li class="aui-list-item">
                <div class="aui-list-item-inner aui-list-item-arrow">我的订单</div>
            </li>
			</a>
			<a href="{:url('team/index')}">
            <li class="aui-list-item aui-list-item-middle">
                <div class="aui-list-item-inner aui-list-item-arrow">我的团队</div>
            </li>
			</a>
        </ul>
    </div>

    <div class="aui-content aui-margin-t-10 aui-margin-b-10">
        <ul class="aui-list aui-list-in">
            <a href="{:url('subsidy/index')}">
			<li class="aui-list-item">
                <div class="aui-list-item-inner aui-list-item-arrow">意见反馈</div>
            </li>
			</a>
			<a href="{:url('team/index')}">
            <li class="aui-list-item aui-list-item-middle">
                <div class="aui-list-item-inner aui-list-item-arrow">新手指引</div>
            </li>
			</a>
        </ul>
    </div>

</div>
{/block}

{block name="footer"}
   <div style="margin-top:50px;"></div>
   {include file="Common:footer" /}
{/block}

{block name="script"}
<script type="text/javascript" src="/static/index/assets/js/aui-dialog.js"></script>
<script type="text/javascript">
$(document).ready(function(){
		$('.aui-grid .aui-row .aui-col-xs-4').on('click',function(){
			url = $(this).data('url');
			if(url!=undefined){
			  window.location.href = url;
			}
		})
})
</script>
{/block}
